home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / DTP / PDF071E.ZIP / Docs / xpdf_docs / xpdf < prev   
Text File  |  1997-05-29  |  9KB  |  286 lines

  1. ! Generated automatically by mantohlp
  2. 1 xpdf
  3.  
  4.        xpdf  -  Portable  Document Format (PDF) file viewer for X
  5.        (version 0.7)
  6.  
  7.        xpdf [options] [PDF-file [page]]
  8.  
  9.        Xpdf is a viewer for Portable Document Format (PDF) files.
  10.        (These  are  also  sometimes  also called 'Acrobat' files,
  11.        from the name of Adobe's PDF software.)  Xpdf  runs  under
  12.        the X Window System on UNIX, VMS, and OS/2.
  13.  
  14.        To run xpdf, simply type:
  15.  
  16.               xpdf file.pdf
  17.  
  18.        where  file.pdf  is  your  PDF file.  The file name can be
  19.        followed by a number specifying the page which  should  be
  20.        displayed first, e.g.:
  21.  
  22.               xpdf file.pdf 18
  23.  
  24.        You can also start xpdf without opening any files:
  25.  
  26.               xpdf
  27.  
  28. 2 OPTIONS
  29.  
  30.        X  resources are listed in square brackets with the corre-
  31.        sponding option.
  32.  
  33.        -err   Send error messages to /dev/tty instead  of  stderr
  34.               (useful  if  xpdf  is started from another applica-
  35.               tion, e.g., netscape which  otherwise  pops  up  an
  36.               annoying little window for every error).
  37.  
  38.        -z number
  39.               Set  the initial zoom factor (-5 .. 5).  [xpdf.ini-
  40.               tialZoom]
  41.  
  42.        -g geometry
  43.               Set the initial  window  geometry.   (-geometry  is
  44.               equivalent.)  [xpdf.geometry]
  45.  
  46.        -remote name
  47.               Start/contact  xpdf  remote  server  with specified
  48.               name (see the REMOTE SERVER MODE section below).
  49.  
  50.        -raise Raise  xpdf  remote  server  window  (with  -remote
  51.               only).
  52.  
  53.        -quit  Kill xpdf remote server (with -remote only).
  54.  
  55.        -rgb number
  56.               Set  the  size of largest RGB cube xpdf will try to
  57.               allocate.  The default is 5 (for a 5x5x5 cube); set
  58.               to   a  smaller  number  to  conserve  color  table
  59.               entries.
  60.  
  61.        -ps PS-file
  62.               Set the default file name  for  PostScript  output.
  63.               This can also be of the form '|command' to pipe the
  64.               PostScript through a command.  [xpdf.psFile]
  65.  
  66.        -cmd   Print commands  as  they're  executed  (useful  for
  67.               debugging).
  68.  
  69.        -h     Print usage information.  (-help is equivalent.)
  70.  
  71.        Several  other  standard X options and resources will work
  72.        as expected:
  73.  
  74.        -display display
  75.               [xpdf.display]
  76.  
  77.        -fg color
  78.               (-foreground is equivalent.)  [xpdf.foreground]
  79.  
  80.        -bg color
  81.               (-background is equivalent.)  [xpdf.background]
  82.  
  83.        -font font
  84.               (-fn is equivalent.)  [xpdf.font]
  85.  
  86.        The color and font options only affect the user  interface
  87.        elements, not the PDF display (the 'paper').
  88.  
  89. 2 CONTROLS
  90.  
  91.    On-screen controls, at the bottom of the xpdf window
  92.        left/right arrow buttons
  93.               Move to the previous/next page.
  94.  
  95.        double left/right arrow buttons
  96.               Move backward or forward by ten pages.
  97.  
  98.        'Page' entry box
  99.               Move  to  a specific page number.  Click in the box
  100.               to activate it, type  the  page  number,  then  hit
  101.               return.
  102.  
  103.        magnifying glass buttons
  104.               Increase and decrease the resolution, i.e., zoom in
  105.               and zoom out.
  106.  
  107.        print button
  108.               Bring up a dialog for generating a PostScript file.
  109.               The  dialog  has  options  to  set  the pages to be
  110.               printed and the PostScript  file  name.   The  file
  111.               name  can  be  '-' for stdout or '|command' to pipe
  112.               the PostScript through a command, e.g., '|lpr'.
  113.  
  114.        '?' button
  115.               Bring up the 'about xpdf' window.
  116.  
  117.        'Quit' button
  118.               Quit xpdf.
  119.  
  120.    Menu
  121.        Pressing the right mouse button will  post  a  popup  menu
  122.        with the following commands:
  123.  
  124.        Open...
  125.               Open a new PDF file via a file requester.
  126.  
  127.        Save PDF...
  128.               Save the current file via a file requester.
  129.  
  130.        Find   Find a text string.
  131.  
  132.        Rotate left
  133.               Rotate the page 90 degrees counterclockwise.
  134.  
  135.        Rotate right
  136.               Rotate  the  page  90  degrees  clockwise.  The two
  137.               rotate commands  are  intended  primarily  for  PDF
  138.               files  where the rotation isn't correctly specified
  139.               in the file, but they're  also  useful  if  your  X
  140.               server doesn't support font rotation.
  141.  
  142.        Quit   Quit xpdf.
  143.  
  144.    Text selection
  145.        Dragging  the  mouse  with  the left button held down will
  146.        highlight an arbitrary rectangle.  Any  text  inside  this
  147.        rectangle will be copied to the X selection buffer.
  148.  
  149.    Links
  150.        Clicking  on  a hyperlink will jump to the link's destina-
  151.        tion.  Currently, only links within PDF  documents  or  to
  152.        another  PDF  file  are supported.  Clicking on a URL link
  153.        just prints the URL.  Clicking on any other type  of  link
  154.        (e.g.,  links to executable programs) prints an error mes-
  155.        sage.
  156.  
  157.    Key bindings
  158.        o      Open a new PDF file via a file requester.
  159.  
  160.        f      Find a text string.
  161.  
  162.        n      Move to the next page.
  163.  
  164.        p      Move to the previous page.
  165.  
  166.        <Space> or <PageDown> or <Next>
  167.               Scroll down on the current page; if already at bot-
  168.               tom, move to next page.
  169.  
  170.        <Backspace> or <Delete> or <PageUp> or <Previous>
  171.               Scroll  up  on the current page; if already at top,
  172.               move to previous page.
  173.  
  174.        <Home> Scroll to top of current page.
  175.  
  176.        <End>  Scroll to bottom of current page.
  177.  
  178.        arrows Scroll the current page.
  179.  
  180.        control-L
  181.               Redraw the current page.
  182.  
  183.        q      Quit xpdf.
  184.  
  185. 2 WEB_BROWSERS
  186.  
  187.        If  you  want  to  run xpdf automatically from netscape or
  188.        mosaic (and probably other browsers) when you click  on  a
  189.        link to a PDF file, you need to edit (or create) the files
  190.        .mime.types and  .mailcap  in  your  home  directory.   In
  191.        .mime.types add the line:
  192.  
  193.               application/pdf pdf
  194.  
  195.        In .mailcap add the lines:
  196.  
  197.               # Use xpdf to view PDF files.
  198.               application/pdf; xpdf -err %s
  199.  
  200.        Make sure that xpdf is on your executable search path.
  201.  
  202. 2 REMOTE_SERVER_MODE
  203.  
  204.        Xpdf  can be started in remote server mode by specifying a
  205.        server name (in addition to the file name  and  page  num-
  206.        ber).  For example:
  207.  
  208.               xpdf -remote myServer file.pdf
  209.  
  210.        If  there is currently no xpdf running in server mode with
  211.        the name 'myServer', a new xpdf window will be opened.  If
  212.        another command:
  213.  
  214.               xpdf -remote myServer another.pdf 9
  215.  
  216.        is  issued,  a  new  copy  of  xpdf  will  not be started.
  217.        Instead, the first xpdf (the server) will load another.pdf
  218.        and display page nine.  If the file name is the same:
  219.  
  220.               xpdf -remote myServer another.pdf 4
  221.  
  222.        the xpdf server will simply display the specified page.
  223.  
  224.        The -raise option tells the server to raise its window; it
  225.        can be specified with or without a file name and page num-
  226.        ber.
  227.  
  228.        The  -quit option tells the server to close its window and
  229.        exit.
  230.  
  231. 2 CONFIGURATION_FILE
  232.  
  233.        Xpdf will read a file called .xpdfrc from your home direc-
  234.        tory (if it exists).  This file can contain two  types  of
  235.        entries.
  236.  
  237.        fontpath directory
  238.               Look for Type 1 fonts in directory.  Xpdf uses this
  239.               only to get the font encoding.   For  display,  the
  240.               font must also be mapped with a fontmap entry.
  241.  
  242.        fontmap PDF-font X-font
  243.               Map  PDF-font  (as  referenced in a PDF file) to X-
  244.               font, which should be a standard X font  descriptor
  245.               with '%s' in the pixel size position.
  246.  
  247.        For example, use:
  248.  
  249.               fontmap        TimesCE-Roman       -*-times-medium-
  250.               r-*-*-%s-*-*-*-*-*-iso8859-2
  251.  
  252.        to map the  Central  European  (Latin-2)  version  of  the
  253.        Times-Roman  font.  This assumes that you've installed the
  254.        appropriate X fonts (see mkfontdir(1)).  Xpdf knows  about
  255.        the ISO8859-2 encoding, so you don't need a fontpath entry
  256.        for these fonts.  To use the Bakoma Type 1 fonts, do this:
  257.  
  258.               fontpath /home/derekn/fonts/bakoma
  259.               fontmap      cmb10      -bakoma-cmb10-medium-r-nor-
  260.               mal--%s-*-*-*-p-*-adobe-fontspecific
  261.               fontmap    cmbsy10    -bakoma-cmbsy10-medium-r-nor-
  262.               mal--%s-*-*-*-p-*-adobe-fontspecific
  263.               etc...
  264.  
  265.        This  assumes  that the Type 1 font files are available in
  266.        the directory /home/derekn/fonts/bakoma.
  267.  
  268. 2 BUGS
  269.  
  270.        This  is  a  beta  release  of xpdf, and there are still a
  271.        bunch of PDF features which I have yet to implement.
  272.  
  273.        At this point, the biggest problem is that embedded  fonts
  274.        are not handled properly.
  275.  
  276. 2 AUTHOR
  277.  
  278.        The  xpdf  software  and documentation are copyright 1996,
  279.        1997 Derek B. Noonburg (derekn@ece.cmu.edu).
  280.  
  281. 2 SEE_ALSO
  282.  
  283.        pdftops(1), pdftotext(1)
  284.        http://www.contrib.andrew.cmu.edu/usr/dn0o/xpdf/xpdf.html
  285.  
  286.